package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.InjuryExpenseReimbursementDao;
import io.renren.entity.InjuryExpenseReimbursementEntity;
import io.renren.service.InjuryExpenseReimbursementService;



@Service("injuryExpenseReimbursementService")
public class InjuryExpenseReimbursementServiceImpl implements InjuryExpenseReimbursementService {
	@Autowired
	private InjuryExpenseReimbursementDao injuryExpenseReimbursementDao;
	
	@Override
	public InjuryExpenseReimbursementEntity queryObject(Integer id){
		return injuryExpenseReimbursementDao.queryObject(id);
	}
	
	@Override
	public List<InjuryExpenseReimbursementEntity> queryList(Map<String, Object> map){
		return injuryExpenseReimbursementDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return injuryExpenseReimbursementDao.queryTotal(map);
	}
	
	@Override
	public void save(InjuryExpenseReimbursementEntity injuryExpenseReimbursement){
		injuryExpenseReimbursementDao.save(injuryExpenseReimbursement);
	}

	@Override
	public void update(InjuryExpenseReimbursementEntity injuryExpenseReimbursement){
		injuryExpenseReimbursementDao.update(injuryExpenseReimbursement);
	}
	
	@Override
	public void delete(Integer id){
		injuryExpenseReimbursementDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		injuryExpenseReimbursementDao.deleteBatch(ids);
	}
	
}
